package com.ctshk.rpc.tour.req.schedule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * @author pf
 */
@Data
@ApiModel(value = "UpdateScheduleNumReq对象", description = "订单返回相应库存")
public class UpdateScheduleNumReq implements Serializable {


    @NotNull(message = "团期id不能为空")
    @ApiModelProperty("团期id")
    private Long id;

    @NotNull(message = "数量不能为空")
    @ApiModelProperty("数量")
    private Integer num;

}
